//*****************************************************************************
//
// ABEC3 Solving File
// Project: SP38
//
//*****************************************************************************

// Vented Enclosure

 
SubDomain_Properties 'Enclosure'
  SubDomain=1
  ElType=Interior           
  Color=0.3,0.3,0.3

SubDomain_Properties 'Vent'
  SubDomain=2
  ElType=Interior

SubDomain_Properties 'Exterior'
  SubDomain=3
  ElType=Exterior            // Radiation to infinity
  IBPlane=z                     // Floor reflection
  
 
Elements "Enclosure-Interior"
  RefNodes="NF"
  SubDomain=1
  101   12201  12204  12203  12202  // rear wall
  102   12001  12201  12202  12002  // top wall
  103   12004  12003  12203  12204  // bottom wall
  104   12002  12202  12203  12003  // side wall
  201   12001  12002  13008  13004  // Baffle top
  202   13003  13008  13007  13002  // Baffle center
  203   13001  13007  13006  12012  // Baffle diaph-vent
  204   12013  13006  13005  12014  // Baffle vent
  205   12011  13005  12003  12004  // Baffle bottom

WallImpedance "Enclosure Damping"
  RefElements="Enclosure-Interior"
  ImpType=Damping
  Value=0.01


Elements "Enclosure-Vent"
  RefNodes="NF"
  SubDomain=1
  SwapNormals=true
  EdgeLength=70mm
  201   12012  12016  12017  12013  // vent top
  202   12013  12017  12018  12014  // vent side
  203   12011  12014  12018  12015  // vent bottom


Elements "I-Enclosure-Vent"
  RefNodes="NF"
  SubDomain=1,2                    // Connecting sub-domain 1 and 2 
  EdgeLength=70mm
  101   12016  12017  12018  12015


Elements "Vent-Inner"
  RefNodes="NF"
  SubDomain=2
  EdgeLength=70mm
  201   2012  12016  12017   2013  // vent top
  202   2013  12017  12018   2014  // vent side
  203   2011   2014  12018  12015  // vent bottom

WallImpedance "Vent Damping"
  RefElements="Vent-Inner"
  ImpType=Damping
  Value=0.1


Elements "I-Vent-Exterior"
  RefNodes="NF"
  SubDomain=2,3                    // Connecting sub-domain 2 and 3  
  EdgeLength=70mm
  101   2012  2013  2014  2011


Elements "Enclosure-Exterior"
  RefNodes="NF"
  SubDomain=3
  SwapNormals=true
  101   2201  2204  2203  2202  // rear wall
  102   2001  2201  2202  2002  // top wall
  103   2004  2003  2203  2204  // bottom wall
  104   2002  2202  2203  2003  // side wall
  201   2001  2002  3008  3004  // Baffle top
  202   3003  3008  3007  3002  // Baffle center
  203   3001  3007  3006  2012  // Baffle diaph-vent
  204   2013  3006  3005  2014  // Baffle vent
  205   2011  3005  2003  2004  // Baffle bottom
 

Diaphragm  "Cone front"
  Side=Front                   // Creates elements for the front side of the diaphragm
  DrvGroup=1001                // Driving group link to observation stage
  SubDomain=3                  // Front side belongs to sub-domain 3
  RefNodes="NF"
  EdgeLength=68mm
  Position=3000,3009,3004      // Triangle giving position
  Simple=true                  // Simple model
  dD=340mm                     // Diameter of cone
  tD1=70mm                     // Inner depth of cone to base of dust cap
  dD1=100mm                    // Diameter of dust cap
  hD1=30mm                     // Height of dust cap
  //Ws=10mm                    // Width of outer suspension
  hD2=100mm                    // Height of total cone on the outside
  dVC=50mm                     // Diameter of voice coil
  hVC=5mm                      // Height of voice coil
  dM=200mm                     // Diameter of magnet
  hM=30mm                      // Height of magnet

Diaphragm  "Cone rear"
  Side=Rear                    // This is the rear side of the diaphragm
  DrvGroup=1002                // Driving group link to observation stage
  SubDomain=1                  // This side belongs to sub-domain SubDomain=1
  RefDiaph="Cone front"        // Inherite from "Cone front"
  t1={-tc}                     // Offset to the rear
  


